package com.gxa.pingan.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * 投保申请表实体类
 * @author lijianmin
 * @date 2021/10/25  14:43:35
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Insure {
    /**
     * 编号
     */
    @ApiModelProperty(name = "id",value = "id",notes = "编号",dataType = "Long",example = "编号")
    private Long id;
    /**
     * 投保人姓名
     */
    @ApiModelProperty(name = "name",value = "name",notes = "投保人姓名",dataType = "String",example = "投保人姓名")
    private String name;
    /**
     * 手机号
     */
    @ApiModelProperty(name = "phone",value = "phone",notes = "手机号",dataType = "String",example = "手机号")
    private String phone;
    /**
     * 车牌号
     */
    @ApiModelProperty(name = "carNum",value = "carNum",notes = "车牌号",dataType = "String",example = "车牌号")
    private String carNum;
    /**
     *  申请时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(name = "appTime",value = "appTime",notes = "申请时间",dataType = "Timestamp",example = "申请时间")
    private Timestamp appTime;
    /**
     * 身份证正面照
     */
    @ApiModelProperty(name = "positiveImg",value = "positiveImg",notes = "身份证正面照",dataType = "String",example = "身份证正面照")
    private String positiveImg;
    /**
     * 身份证反面照
     */
    @ApiModelProperty(name = "negativeImg",value = "negativeImg",notes = "身份证反面照",dataType = "String",example = "身份证反面照")
    private String negativeImg;
    /**
     * 接收验证号码手机号
     */
    @ApiModelProperty(name = "phoneCode",value = "phoneCode",notes = "接收验证号码手机号",dataType = "String",example = "接收验证号码手机号")
    private String phoneCode;
    /**
     * 邮箱
     */
    @ApiModelProperty(name = "mailbox",value = "mailbox",notes = "邮箱",dataType = "String",example = "邮箱")
    private String mailbox;
    /**
     * 验证码
     */
    @ApiModelProperty(name = "verificationCode",value = "verificationCode",notes = "验证码",dataType = "String",example = "验证码")
    private String verificationCode;
    /**
     * 是否同意申请
     */
    @ApiModelProperty(name = "isOk",value = "isOk",notes = "是否同意申请",dataType = "Boolean",example = "是否同意申请")
    private Boolean isOk;

}
